The term 'peanut gallery' refers to a group of people who criticize or offer unsolicited opinions, often from a position of ignorance or lack of expertise. Historically, it referred to the cheapest seats in a theater, where the audience was often vocal and unruly.